home *** CD-ROM | disk | FTP | other *** search
- from JascApp import *
-
- def ScriptProperties():
- return {
- 'Author': 'Kris Zaklika',
- 'Copyright': 'Copyright (C) 2002-2003, Jasc Software Inc., All Rights Reserved.',
- 'Description': 'A reflecting copper ball',
- 'Host': 'Paint Shop Pro',
- 'Host Version': '8.00'
- }
-
- def Preset_BallsAndBubbles():
- return {
- 'Illumination': {
- 'MaxAmbience': 50,
- 'MinAmbience': 0,
- 'LightList': [{
- 'BubbleLight': App.Constants.Boolean.true,
- 'Color': (217,90,11),
- 'Direction': (0.657816,-0.0438995,-0.316751),
- 'HighlightSize': 20
- },{
- 'BubbleLight': App.Constants.Boolean.true,
- 'Color': (147,75,63),
- 'Direction': (0.127672,0.201676,-0.940339),
- 'HighlightSize': 52
- },{
- 'BubbleLight': App.Constants.Boolean.false,
- 'Color': (35,48,173),
- 'Direction': (0.396469,-0.890585,-0.235871),
- 'HighlightSize': 40
- },{
- 'BubbleLight': App.Constants.Boolean.true,
- 'Color': (116,216,178),
- 'Direction': (-0.48779,-0.869999,-0.688903),
- 'HighlightSize': 19
- },{
- 'BubbleLight': App.Constants.Boolean.false,
- 'Color': (118,68,52),
- 'Direction': (-0.752093,0.0764903,0.654603),
- 'HighlightSize': 40
- },{
- 'BubbleLight': App.Constants.Boolean.false,
- 'Color': (147,73,63),
- 'Direction': (0.109804,0.917561,0.382133),
- 'HighlightSize': 33
- },{
- 'BubbleLight': App.Constants.Boolean.false,
- 'Color': (145,96,63),
- 'Direction': (0.762254,0.0533095,0.645079),
- 'HighlightSize': 9
- }]
- },
- 'Mode': App.Constants.CountType.Single,
- 'Multiple': {
-
- },
- 'Single': {
- 'MaxPossibleSize': App.Constants.Boolean.true
- },
- 'Surface': {
- 'Material': {
- 'Color': (140,101,58),
- 'Pattern': None,
- 'Gradient': None,
- 'Texture': None
- },
- 'BumpMap': {
- 'Active': App.Constants.Boolean.true,
- 'Depth': 60,
- 'FileName': 'Brushed metal',
- 'Fit': App.Constants.Boolean.false,
- 'Size': 350,
- 'Smoothness': 100
- },
- 'EnvironmentMap': {
- 'Active': App.Constants.Boolean.false
- },
- 'Gloss': 18,
- 'Opacity': 100,
- 'Shininess': 88
- }
- }
-
- def Do(Environment):
- App.Do( Environment, 'BallsAndBubbles', Preset_BallsAndBubbles())
-
-